package com.genia.toolbox.projects.sample_ws_trampo.war.ws.services;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import com.genia.toolbox.projects.sample_ws_trampo.bean.model.impl.BookClassImpl;

/**
 * Interface defining the Canal Demo Web Services.
 */
@WebService(targetNamespace = "http://localhost:8080/ws/bookServiceWS", name="bookServiceWS")
@SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface BookService {

	@WebMethod(operationName = "getBooks", action = "urn:getBooks")
	@WebResult(name = "myAnswer")
	public BookClassImpl[] getBooks(String msg);
}
